﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MapInfo/MapInfo.master" AutoEventWireup="true" StylesheetTheme="Content" CodeFile="DepartmentIntro2.aspx.cs" Inherits="MapInfo_DepartmentIntro2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table cellspacing="0" cellpadding="0" width="98%" border="0">
        <tr>
            <td height="25" width="25%" align="Left">
                单位名称：
            </td>
            <td height="25" width="*" align="left">
                <asp:DropDownList ID="DptDepartment1" runat="server" Width="194px" AutoPostBack="True"
                    OnSelectedIndexChanged="DptDepartment1_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="DptDepartment2" runat="server" Width="272px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                单位简称：</td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtShortName" Width="300px" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                上级单位：</td>
            <td height="25" width="*" align="left">
                <asp:DropDownList ID="dptParentDepartmentID" Width="300px" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                单位地址：
            </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtDepartmentAddress" runat="server" Width="300px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txtDepartmentAddress" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                经&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 度：</td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtLongitude" runat="server" Width="300px"></asp:TextBox>
               
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                    ControlToValidate="txtLongitude" ErrorMessage="*"></asp:RequiredFieldValidator>
               
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                纬&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 度：</td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtLatitude" runat="server" Width="300px"></asp:TextBox>
               
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                    ControlToValidate="txtLatitude" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
               
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                建站时间 ：
            </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtCreateDate" runat="server" Width="300px"></asp:TextBox>
                <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" Animated="False"
                    Enabled="True" TargetControlID="txtCreateDate">
                </ajaxToolkit:CalendarExtender>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                占地面积 ：
            </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtDepartmentAreaSize" runat="server" Width="300px"></asp:TextBox><asp:Label
                    ID="lblpm1" runat="server" Text="平方米"></asp:Label>
                <asp:RangeValidator ID="RangeValidator5" runat="server" ControlToValidate="txtDepartmentAreaSize"
                    Display="Dynamic" ErrorMessage="请填写数字" Type="Double" MaximumValue="999999" 
                    MinimumValue="0"></asp:RangeValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    Display="Dynamic" ErrorMessage="*" ControlToValidate="txtDepartmentAreaSize"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                建筑面积 ：
            </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtBuildAreaSize" runat="server" Width="300px"></asp:TextBox><asp:Label
                    ID="lblpm" runat="server" Text="平方米"></asp:Label>
                <asp:RangeValidator ID="RangeValidator6" runat="server" ControlToValidate="txtBuildAreaSize"
                    Display="Dynamic" ErrorMessage="请填写数字" Type="Double" MaximumValue="999999" 
                    MinimumValue="0"></asp:RangeValidator>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ErrorMessage="*" ControlToValidate="txtBuildAreaSize" Display="Dynamic"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                人员编制数：</td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtOfficerCount" runat="server" Width="300px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtOfficerCount" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                现有人数 ：
            </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtPeopleCount" runat="server" Width="300px"></asp:TextBox>
                <asp:RangeValidator ID="RangeValidator9" runat="server" ControlToValidate="txtPeopleCount"
                    Display="Dynamic" ErrorMessage="*" Type="Integer" MaximumValue="9999" 
                    MinimumValue="0"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                执勤车数量 ：
            </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtDutyCarCount" runat="server" Width="300px"></asp:TextBox>
                <asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="txtDutyCarCount"
                    Display="Dynamic" ErrorMessage="*" Type="Integer" MaximumValue="9999" 
                    MinimumValue="0"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                管辖大队数：</td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtDadui" runat="server" Width="300px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtDadui" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td height="25"</td>
                管辖中队数：<td height="25" width="*" align="left">
                <asp:TextBox ID="txtLochus" runat="server" Width="300px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtLochus" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                备注：             </td>
            <td height="25" width="*" align="left">
                <asp:TextBox ID="txtDutyCarIntro" runat="server" Width="300px" Height="74px" TextMode="MultiLine"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                单位图片 ：
          
            </td>
            <td height="25" width="*" align="left">
                <asp:FileUpload ID="FilePic" runat="server" Height="24px" Width="308px" />
            </td>
        </tr>
        <tr>
            <td height="25" width="25%" align="Left">
                &nbsp;
            </td>
            <td height="25" width="*" align="left">
                <asp:Button ID="btnAdd" runat="server" Text="保 存" OnClick="btnAdd_Click1" />
                <asp:Label ID="lblPromt" runat="server" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>

